﻿using System.Reflection;
using System.Windows;
using Microsoft.Win32;

// 测试 test demo  仅仅限于测试用 ( for test demo )

namespace e11
{
    public partial class MainWindow : Window
    {

        public MainWindow()
        {
            InitializeComponent();
            
            string[] args = Environment.GetCommandLineArgs();

            // 正常模式（打开文件夹）
            if (args.Length > 1)
            {
                string folderPath = args[1];
                FolderPathLabel.Content = $"Selected Folder: {folderPath}";
            }
            else
            {
                FolderPathLabel.Content = "No folder selected.";
            }
        }


        private void add_Right_menu(object sender, RoutedEventArgs e)
        {
            Registry_Add.RegisterContextMenu();
        }


     


    
    }
}


